#ifndef __NODE_H__
#define __NODE_H__

#include <cstddef>				

template <class ElemType>
struct Node 
{
	ElemType data;				
	Node<ElemType> *next;		

	Node();						
	Node(const ElemType &e, Node<ElemType> *link = NULL);	
};

template<class ElemType>
Node<ElemType>::Node()
{
	next = NULL;
}

template<class ElemType>
Node<ElemType>::Node(const ElemType &e, Node<ElemType> *link)
{
	data = e;
	next = link;
}

#endif
